<div class="panel panel-default">
	<div class="panel-body">
		<div id="alert-match"></div>
		<div class="input-group">
			<input type="text" class="form-control" id="search-match-ID" placeholder="请输入比赛ID或赛名（默认显示全部比赛列表）" />
			<span class="input-group-btn">
    			<button type="button" class="btn btn-default" id="search-match-enter">
    				<span class="glyphicon glyphicon-search"></span>
				</button>
			</span>
		</div>
		<table class="table table-hover table-striped">
			<thead><tr><th>ID</th><th>比赛名</th><th>创建人</th><th>创建时间</th><th>状态</th><th>操作</th></tr></thead>
			<tbody id="table-match-list">
				<tr>
					<td colspan="6">
						<a href="#add-match" class="btn btn-success" data-toggle="collapse">创建一场新比赛</a>
						<div class="collapse" id="add-match">
							<div class="input-group">
								<span class="input-group-addon">比赛名称: </span>
								<input type="text" class="form-control" id="match-add-name" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">比赛描述: </span>
								<input type="text" class="form-control" id="match-add-description" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">开始时间: </span>
								<span class="input-group-addon">年: </span>
								<input type="text" class="form-control" id="match-add-year" />
								<span class="input-group-addon">月: </span>
								<input type="text" class="form-control" id="match-add-month" />
								<span class="input-group-addon">日: </span>
								<input type="text" class="form-control" id="match-add-day" />
								<span class="input-group-addon">时: </span>
								<input type="text" class="form-control" id="match-add-hour" />
								<span class="input-group-addon">分: </span>
								<input type="text" class="form-control" id="match-add-mintue" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">持续时间: </span>
								<input type="text" class="form-control" id="match-add-durations" placeholder="分钟" />
							</div>
							<div class="input-group">
								<input type="text" class="form-control" id="match-search-problem-ID" placeholder="请输入题目ID或题目名以添加题目" />
								<span class="input-group-btn">
    								<button type="button" class="btn btn-default" id="match-search-problem-enter">添加</button>
    							</span>
							</div>
							<table class="table table-hover table-striped">
								<!--ID、题目名、类型、描述、删除题目-->
								<thead><tr><th>ID</th><th>题目名</th><th>类型</th><th>描述</th><th>操作</th></tr></thead>
								<tbody id="match-add-problem-list"></tbody>
							</table>
							<button type="button" class="btn btn-primary" id="match-add-enter">创建比赛</button>
						</div>
					</td>
				</tr>
			</tbody>
		</table>
		<ul id="match-paginator"></ul>
	</div>
</div>